# Contributor: Luca Weiss <luca@z3ntu.xyz>
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=ncpamixer
pkgver=1.3.3
pkgrel=1
pkgdesc="ncurses PulseAudio Mixer"
url="https://github.com/fulhax/ncpamixer"
arch="all"
license="MIT"
makedepends="cmake pulseaudio-dev ncurses-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/fulhax/ncpamixer/archive/$pkgver.tar.gz"
options="!check" # no tests

build() {
	cmake "$builddir"/src \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr
	make
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="f86fe4a8c3e505399e4eae831ded56dffbf0dc00f4392873a90e6dac10f8964becba65dad2ddcee128de636635a488fb9769a10909c2f7e1202d69d016358da6  ncpamixer-1.3.3.tar.gz"
